package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * C端系统-退款申请
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_refund_info")
@ApiModel(value = "XhRefundInfo对象", description = "C端系统-退款申请")
public class XhRefundInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("退款单号")
    private String refundNo;

    @ApiModelProperty("用户ID")
    private Integer memberId;

    @ApiModelProperty("类型1-押金退款 2-余额提现")
    private Integer businessType;

    @ApiModelProperty("业务ID")
    private Integer businessId;

    @ApiModelProperty("退款金额")
    private BigDecimal money;

    @ApiModelProperty("1-微信 2-支付宝 3-银行转账")
    private Integer refundChannel;

    @ApiModelProperty("收款银行")
    private String bankNo;

    @ApiModelProperty("收款开户行")
    private String bankName;

    @ApiModelProperty("收款账号")
    private String refundAccount;

    @ApiModelProperty("退款申请理由")
    private String reason;

    @ApiModelProperty("退款状态 1-待处理 2-已受理 3-退款完成 4-取消退款")
    private Integer status;

    @ApiModelProperty("受理时间")
    private Date acceptTime;

    @ApiModelProperty("完成时间")
    private Date completeTime;

    @ApiModelProperty("实际退款金额")
    private BigDecimal payMoney;

    @ApiModelProperty("付款流水号")
    private String payNo;

    @ApiModelProperty("付款备注")
    private String payRemark;

    @ApiModelProperty("创建人ID，非普通用户创建需提供")
    private Integer createUser;

    @ApiModelProperty("创建人姓名，非普通用户创建需提供")
    private String createName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
